package tgc.edu.ljc.layui;

import java.io.IOException;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class LayuiApplication extends SpringBootServletInitializer{

	public static void main(String[] args) throws IOException {
		SpringApplication.run(LayuiApplication.class, args);
		/*Properties properties = new Properties();
	    InputStream in = LayuiApplication.class.getClassLoader().getResourceAsStream("application.properties");
	    properties.load(in);
	    SpringApplication app = new SpringApplication(LayuiApplication.class);
	    app.setDefaultProperties(properties);
	    app.run(args);*/
	}

	/*@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		builder.sources(this.getClass());
		return super.configure(builder);
	}*/
	
	
}
